<!-- INCLUDE overall_header.html -->
<script type="text/javascript">
// <![CDATA[
	<!-- IF S_YUBIKEY_LOGIN_ENABLED -->
	function handle_enter(event)
	{
		var evt = event || window.event;
		var code = evt.which || evt.keyCode || evt.charCode;
		if (13 == code)
		{
			if(evt.which)
			{
				evt.preventDefault();
			}
			else if (evt.keyCode)
			{
				evt.keyCode = 9;
			}
			else
			{
				evt.charCode = 9;
			}
			document.getElementById('submit').click();
		}
	}
	<!-- ENDIF -->
// ]]>
</script>

<div class="panel">
	<div class="inner"><span class="corners-top"><span></span></span>

	<div class="content">
		<!-- IF ERROR -->
			<p class="error">{ERROR}</p>
		<!-- ENDIF -->
		<form method="post" action="{U_RESET}">
		<h3>{L_YUBIKEY_ADD_A}</h3>
			<fieldset>
				<dl>
					<dt><label for="yubikey_otp">{L_YUBIKEY_OTP}</label><br /><span>{L_YUBIKEY_OTP_FULL_EXPLAIN}</span></dt>
					<dd><input type="text" name="yubikey_otp" id="yubikey_otp" size="44" maxlength="44" value="" class="yubikey-otp autowidth" onkeypress="javascript:handle_enter(event);"/></dd>
					<dd>
					<input type="submit" name="submit" id="submit" value="{L_YUBIKEY_ADD}" class="button1"/>
					</dd>
					<dd>
					{S_FORM_TOKEN}
					</dd>
				</dl>
			</fieldset>
		</form>
	</div>

	<span class="corners-bottom"><span></span></span></div>
</div>

<!-- INCLUDE overall_footer.html -->